home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / STATFS.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  781b  |  41 lines

  1. /*
  2.  * Definitions for the statfs(2) call.
  3.  *
  4.  * This file is subject to the terms and conditions of the GNU General Public
  5.  * License.  See the file "COPYING" in the main directory of this archive
  6.  * for more details.
  7.  *
  8.  * Copyright (C) 1995 by Ralf Baechle
  9.  */
  10. #ifndef __ASM_MIPS_STATFS_H
  11. #define __ASM_MIPS_STATFS_H
  12.  
  13. #include <linux/posix_types.h>
  14.  
  15. #ifndef __KERNEL_STRICT_NAMES
  16.  
  17. #include <linux/types.h>
  18.  
  19. typedef __kernel_fsid_t        fsid_t;
  20.  
  21. #endif
  22.  
  23. struct statfs {
  24.     long        f_type;
  25. #define f_fstyp f_type
  26.     long        f_bsize;
  27.     long        f_frsize;    /* Fragment size - unsupported */
  28.     long        f_blocks;
  29.     long        f_bfree;
  30.     long        f_files;
  31.     long        f_ffree;
  32.  
  33.     /* Linux specials */
  34.     long    f_bavail;
  35.     __kernel_fsid_t    f_fsid;
  36.     long        f_namelen;
  37.     long        f_spare[6];
  38. };
  39.  
  40. #endif /* __ASM_MIPS_STATFS_H */
  41.